<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>变形</title>
    <style>
        .box {
            width: 200px;
            height: 200px;
            background-color: teal;
            margin: 0 auto;
            /*transform: rotateZ(30deg);*/
            /*transform: skewY(30deg);*/
            /*transform: scale(0, 0);*/
            transform: translate(10px, 20px);
        }
    </style>
</head>

<body>
    <div class="box"></div>
</body>

</html>